package com.psw.monitor.geserialport.em;

public enum ChannelType {

    /**
     * 通道未启用
     */
    DISABLED("0", "通道未启用"),

    /**
     * 开关
     */
    SWITCH("1", "开关"),

    /**
     * 模拟
     */
    SIMULATION("2", "模拟"),
    ;
    private String code;

    private String desc;

    ChannelType(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
